/*
** time.c for  in /home/faye_m//tmp/zappy-2011/new_server/src/zappy-2011/new_server/src
** 
** Made by mouhamed faye
** Login   <faye_m@epitech.net>
** 
** Started on  Sun Jul 10 11:41:58 2011 mouhamed faye
** Last update Sun Jul 10 11:42:29 2011 mouhamed faye
*/
#include <stdio.h>
#include <time.h>
int		get_time()
{
  time_t now;
  struct tm* tm;

  now = time(0);
  tm = localtime(&now);
  printf("%dh:%dmn:%ds ==> ", tm->tm_hour, tm->tm_min, tm->tm_sec);
  return (int)(tm);
}
